package com.jianshuai.mapper;



import com.jianshuai.domain.Menu;
import com.jianshuai.domain.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface OrderMapper {

    void addOrder(@Param("userId") Long userId, @Param("id") Long id);

    List<Menu> getOrderByUserId(Long userId);

    void addMenu(List<Menu> menus);

    Order getorderByIdAndPrice(Long userId);
}
